package com.loong.life.common.backend.param;

import com.loong.common.validator.group.CommonValidate;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: LiuQun
 * @Date: 2020/12/2 14:23
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class ChargeIdAndOrderNumParam {

    /**
     * 手机充值记录id
     */
    @NotNull(message = "手机充值记录id不能为空",groups = {CommonValidate.class})
    private Long chargeId;

    /**
     * 订单编号
     */
    @NotBlank(message = "订单编号不能为空",groups = {CommonValidate.class})
    private String orderNum;
}
